package com.qk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qk.dto.BusinessDto;
import com.qk.dto.BusinessPoolDto;
import com.qk.entity.Business;
import com.qk.entity.OverviewVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * ClassName: BusinessMapper
 * Package: com.qk.mapper
 * Description:
 *
 * @Author zt
 * @Create 2025/8/2 20:20
 * @Version 1.0
 */
@Mapper
public interface BusinessMapper extends BaseMapper<Business> {

    Page<Business> listBusinesses(Page<Business> businessPage, BusinessDto businessDto);

    Business getBusinessById(Integer id);

    OverviewVo getBusinessOverview();

    Page<Business> listBusinessesPool(Page<Object> objectPage, BusinessPoolDto businessPoolDto);
}
